<?php

	class EbDebug
	{
		public $listLogMessages = array();
		public $listQueries = array();
		public $listModels = array();
		public $listCommands = array();
		public $listObjects = array();
		
		public $generatedTime;
		public $beforeMemory;
		public $afterMemory;
		public $peakMemory;	

		public $listCSS = array();
	
		public function trace($message)
		{
			$this->listLogMessages []= $message;
		}
		
		public function addObject($key, $value)
		{
			$this->listObjects[$key] = $value;
		}
		
		public function addQuery($value)
		{
			$this->listQueries []= $value;
		}
		
		public function addCommand($value)
		{
			$this->listCommands []= $value;
		}	

		public function addModel($value)
		{
			$this->listModels []= $value;
		}	

		public function addCss($value)
		{
			$this->listCSS []= $value;
		}
	}